<?php
	$this->headLink()->appendStylesheet('/stylesheets/layout.css');
    //$this->headLink()->appendStylesheet('/frameworks/fancybox/jquery.fancybox-1.3.4.css');
    
    //$this->headScript()->appendFile($this->baseUrl('/frameworks/jquery/js/jquery-1.7.2.min.js'));
	//$this->headScript()->appendFile($this->baseUrl('/frameworks/jquery/js/jquery-ui-1.8.21.custom.min.js'));
    //$this->headScript()->appendFile($this->baseUrl('/frameworks/jquery/js/jquery.form.js'));
    
    //$this->headScript()->appendFile($this->baseUrl('/frameworks/fancybox/jquery.fancybox-1.3.4.pack.js'));
    //$this->headScript()->appendFile($this->baseUrl('/frameworks/fancybox/jquery.easing-1.3.pack.js'));
    //$this->headScript()->appendFile($this->baseUrl('/frameworks/fancybox/jquery.mousewheel-3.0.4.pack.js'));
    
    //$this->headScript()->appendFile($this->baseUrl('js/calculator3.js'));
    //$this->headScript()->appendFile($this->baseUrl('js/global.js'));
?>

<?php echo $this->doctype() ?>
<html>
<head>
	<?php //echo $this->headBase();?>
	<?php //echo $this->jQuery(); ?>
	<?php echo $this->headScript(); ?>
	<?php echo $this->inlineScript(); ?>
	<?php //echo $this->headStyle() ?>
	<?php echo $this->headLink() ?>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Cold</title>
</head>
<body>
    <div class="main_wrapper">
        <div class="top_wrapper">
            <div class="header_wrapper">
                <div class="top_header">
                    <div class="left_gr"></div>
                    <div class="slogan_wrapper">
                        <img class="logo" src='/img/logo.png' />
                        <div class="slogan">
                            <div class="slogan_top">Меблі та інтер'єр -</div>
                            <div class="slogan_bottom">це наше натхнення</div>
                        </div>
                        <?php $registry = Zend_Registry::getInstance(); 
                        if ($registry->currentUser instanceof Application_Model_User &&
                            $registry->acl->isAllowed($registry->currentUser->get('role'), 'unlogin')){ ?>
                			<a href="<?php echo $this->url( array('controller' => 'account', 'action' => 'unlogin')); ?>">вилогінитися</a>
                        <?php } ?>
                    </div>
                    <div class="right_gr"></div>
                </div>
                <div class="header_picture first_header_picture">
                    <img src='/img/header/IMG_0602.jpg' />
                </div>
                <div class="header_picture"><img src='/img/header/PA292671.jpg' /></div>
                <div class="header_picture"><img src='/img/header/P3011407.jpg' /></div>
                <div class="header_picture"><img src='/img/header/IMG_0413.jpg' /></div>
                <div class="header_picture"><img src='/img/header/IMG_1716.jpg' /></div>
                <div class="header_picture"><img src='/img/header/P5063998.jpg' /></div>
                <div class="header_picture"><img src='/img/header/new1.jpg' /></div>
            </div>
            <?php echo $this->navigation()->menu()->setPartial('_menu.phtml')->render(); ?>
            <div class="middle_wrapper">
                <?php $menu_second = $this->navigation()->menu()->setPartial('_menu_second.phtml')->render();
            		if (!empty( $menu_second)){?>
            			<div class='menu_second_area'>
            				<?php echo $menu_second ?>
            			</div>
            	<?php }?>
                <div class="content">
                    <?php echo $this->layout()->content ?>
                </div>
             </div>
        </div>
        <?php echo $this->render('_footer.phtml'); ?>
    </div>
</body>
</html>

